Allow Android CI build to be run manually on demand #5248
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description (required)
This small change allows GitHub workflow to also be run manually on demand, and not only automatically on push/PR.
Related issue is #5245 of why I needed it now specifically; but I find it useful in other cases too (e.g. I don't have Android build environment, but I instead let GitHub do android builds for me)
Tests performed (required)
This is build-environment-only change, it does not affect the code.
I've tested it so that I can run workflow manually (See tests tagged
Manually run by mnalis
at: https://github.com/mnalis/apps-android-commons/actions/workflows/android.yml)Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.